/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 26727
 * Date: 2024-11-07
 * Time: 23:49
 */
public class Solution12 {
//    select distinct num  as ConsecutiveNums from (
//            select num,
//            lead(num,1,null) over(order by id) as lead1_num,
//    lead(num,2,null) over(order by id) as lead2_num
//    from Logs
//) t where num = lead1_num and num = lead2_num
}
